package com.yangff.anno;

import com.yangff.exception.GlobalDefaultExceptionHandler;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@ComponentScan({"com.yangff.config" , "com.yangff.aop"})
@EnableTransactionManagement
public @interface EnableCommonConfig {
}
